<?php echo $header; ?>
<div id="content" class="clearfix">
	<div class="wrapper">
		<?php echo $column_right;?>
		<div id="primary" class="hfeed">
			<div id="left-indent">
				<div id="border-style">
					<div class="box">
						<div class="published">
							<h2 class="entry-title">
								<a style="color:white;" href="javascript::null">Tin Tức</a>
							</h2>
						</div>
						<div class="news">
							<?php foreach($AllNews as $News){?>
								<div class="first">
									<div style="width:30%">
										<img class="thumb" width="150" height="150" title="news" alt="news" src="<?php echo $News['image'];?>">
									</div>
									<div class="Ncontent">
										<div>
											<a class="ttitle" href="<?php echo $this->model_tool_seo_url->rewrite(HTTP_SERVER.$link_news.'&new_id='.$News['new_id']); ?>">
												<h3><?php echo $News['title'];?>
												</h3>
											</a>
										</div>
										<br>
										<span>(<?php echo $News['create_date'];?>)</span>
										<br>
										<?php echo $News['description'];?>
										<a href="<?php echo $this->model_tool_seo_url->rewrite(HTTP_SERVER.$link_news.'&new_id='.$News['new_id']); ?>">Đọc Tiếp</a>
									</div>
								</div>
								<br>
								<div class="clear"></div>
								<br>
							<?php }?>
						</div>
						<br>
						<div class="page"><?php echo $pagination;?></div>
						
					</div>
				</div>
				<div class="right-bot-corner">
					<div class="left-bot-corner"></div>
				</div>
			</div>
		</div>
	</div>
</div>

<?php echo $footer;?>